<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRHaierAC160 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRHaierAC160-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRHaierAC160 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Haier 160 bit A/C messages.  
 <a href="classIRHaierAC160.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Haier_8h_source.html">ir_Haier.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRHaierAC160:</div>
<div class="dyncontent">
<div class="center"><img src="classIRHaierAC160__coll__graph.png" border="0" usemap="#IRHaierAC160_coll__map" alt="Collaboration graph"/></div>
<map name="IRHaierAC160_coll__map" id="IRHaierAC160_coll__map">
<area shape="rect" title="Class for handling detailed Haier 160 bit A/C messages." alt="" coords="49,95,161,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="5,5,72,32"/>
<area shape="rect" href="unionHaierAc160Protocol.html" title="Native representation of a Haier 160 bit A/C message." alt="" coords="97,5,247,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a55777803fc8fd31c8741f31875dd9a6c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a55777803fc8fd31c8741f31875dd9a6c">IRHaierAC160</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a55777803fc8fd31c8741f31875dd9a6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRHaierAC160.html#a55777803fc8fd31c8741f31875dd9a6c">More...</a><br /></td></tr>
<tr class="separator:a55777803fc8fd31c8741f31875dd9a6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54c893fbe47a93029e5ca105438ba832"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a54c893fbe47a93029e5ca105438ba832">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a6e9c641809880b032e33e36d1d84f842">kHaierAc160DefaultRepeat</a>)</td></tr>
<tr class="memdesc:a54c893fbe47a93029e5ca105438ba832"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRHaierAC160.html#a54c893fbe47a93029e5ca105438ba832">More...</a><br /></td></tr>
<tr class="separator:a54c893fbe47a93029e5ca105438ba832"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca0255b239860dc34e1ff401758dd639"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#aca0255b239860dc34e1ff401758dd639">calibrate</a> (void)</td></tr>
<tr class="memdesc:aca0255b239860dc34e1ff401758dd639"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRHaierAC160.html#aca0255b239860dc34e1ff401758dd639">More...</a><br /></td></tr>
<tr class="separator:aca0255b239860dc34e1ff401758dd639"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa16e560145efa44bf7b4e908b1ce5179"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#aa16e560145efa44bf7b4e908b1ce5179">begin</a> (void)</td></tr>
<tr class="memdesc:aa16e560145efa44bf7b4e908b1ce5179"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRHaierAC160.html#aa16e560145efa44bf7b4e908b1ce5179">More...</a><br /></td></tr>
<tr class="separator:aa16e560145efa44bf7b4e908b1ce5179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11e68d6a4bd6ff6014bec2b003da8526"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a11e68d6a4bd6ff6014bec2b003da8526">stateReset</a> (void)</td></tr>
<tr class="memdesc:a11e68d6a4bd6ff6014bec2b003da8526"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state.  <a href="classIRHaierAC160.html#a11e68d6a4bd6ff6014bec2b003da8526">More...</a><br /></td></tr>
<tr class="separator:a11e68d6a4bd6ff6014bec2b003da8526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1974397407adb89278054c9e7351b9c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a1974397407adb89278054c9e7351b9c2">setButton</a> (const uint8_t button)</td></tr>
<tr class="memdesc:a1974397407adb89278054c9e7351b9c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Button/Command setting of the A/C.  <a href="classIRHaierAC160.html#a1974397407adb89278054c9e7351b9c2">More...</a><br /></td></tr>
<tr class="separator:a1974397407adb89278054c9e7351b9c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae677c5222821f424771b223d8d6e5f14"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ae677c5222821f424771b223d8d6e5f14">getButton</a> (void) const</td></tr>
<tr class="memdesc:ae677c5222821f424771b223d8d6e5f14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Button/Command setting of the A/C.  <a href="classIRHaierAC160.html#ae677c5222821f424771b223d8d6e5f14">More...</a><br /></td></tr>
<tr class="separator:ae677c5222821f424771b223d8d6e5f14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dabfc2c7969e36b09cf9e3bd8ab14b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a2dabfc2c7969e36b09cf9e3bd8ab14b3">setUseFahrenheit</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:a2dabfc2c7969e36b09cf9e3bd8ab14b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the default temperature units to use.  <a href="classIRHaierAC160.html#a2dabfc2c7969e36b09cf9e3bd8ab14b3">More...</a><br /></td></tr>
<tr class="separator:a2dabfc2c7969e36b09cf9e3bd8ab14b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a546655c0859e1d275259a82085c37a08"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a546655c0859e1d275259a82085c37a08">getUseFahrenheit</a> (void) const</td></tr>
<tr class="memdesc:a546655c0859e1d275259a82085c37a08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the default temperature units in use.  <a href="classIRHaierAC160.html#a546655c0859e1d275259a82085c37a08">More...</a><br /></td></tr>
<tr class="separator:a546655c0859e1d275259a82085c37a08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a778c43166c25572360ea51e0aaddf561"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a778c43166c25572360ea51e0aaddf561">setTemp</a> (const uint8_t temp, const bool fahrenheit=false)</td></tr>
<tr class="memdesc:a778c43166c25572360ea51e0aaddf561"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRHaierAC160.html#a778c43166c25572360ea51e0aaddf561">More...</a><br /></td></tr>
<tr class="separator:a778c43166c25572360ea51e0aaddf561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4088c5b99375a891568d05e57669b1c7"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a4088c5b99375a891568d05e57669b1c7">getTemp</a> (void) const</td></tr>
<tr class="memdesc:a4088c5b99375a891568d05e57669b1c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. The unit of temperature is specified by UseFahrenheit value.  <a href="classIRHaierAC160.html#a4088c5b99375a891568d05e57669b1c7">More...</a><br /></td></tr>
<tr class="separator:a4088c5b99375a891568d05e57669b1c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05ca549c6c70b7dfd76fe90ce889266d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a05ca549c6c70b7dfd76fe90ce889266d">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a05ca549c6c70b7dfd76fe90ce889266d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRHaierAC160.html#a05ca549c6c70b7dfd76fe90ce889266d">More...</a><br /></td></tr>
<tr class="separator:a05ca549c6c70b7dfd76fe90ce889266d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3b0e49cf59fa2bac7e6043ff8db19f3"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ac3b0e49cf59fa2bac7e6043ff8db19f3">getFan</a> (void) const</td></tr>
<tr class="memdesc:ac3b0e49cf59fa2bac7e6043ff8db19f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRHaierAC160.html#ac3b0e49cf59fa2bac7e6043ff8db19f3">More...</a><br /></td></tr>
<tr class="separator:ac3b0e49cf59fa2bac7e6043ff8db19f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23f00c7174cc76d72e8731f8c8bde108"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a23f00c7174cc76d72e8731f8c8bde108">getMode</a> (void) const</td></tr>
<tr class="memdesc:a23f00c7174cc76d72e8731f8c8bde108"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C.  <a href="classIRHaierAC160.html#a23f00c7174cc76d72e8731f8c8bde108">More...</a><br /></td></tr>
<tr class="separator:a23f00c7174cc76d72e8731f8c8bde108"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d360881f832a992000e6bd49df4a9b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a3d360881f832a992000e6bd49df4a9b0">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a3d360881f832a992000e6bd49df4a9b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C.  <a href="classIRHaierAC160.html#a3d360881f832a992000e6bd49df4a9b0">More...</a><br /></td></tr>
<tr class="separator:a3d360881f832a992000e6bd49df4a9b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2b7ca52e6cbe9209410b9208ae0e4fd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#af2b7ca52e6cbe9209410b9208ae0e4fd">getPower</a> (void) const</td></tr>
<tr class="memdesc:af2b7ca52e6cbe9209410b9208ae0e4fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting.  <a href="classIRHaierAC160.html#af2b7ca52e6cbe9209410b9208ae0e4fd">More...</a><br /></td></tr>
<tr class="separator:af2b7ca52e6cbe9209410b9208ae0e4fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6def5b9a8653277379be6591ce0773f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a6def5b9a8653277379be6591ce0773f7">setPower</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:a6def5b9a8653277379be6591ce0773f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting.  <a href="classIRHaierAC160.html#a6def5b9a8653277379be6591ce0773f7">More...</a><br /></td></tr>
<tr class="separator:a6def5b9a8653277379be6591ce0773f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a864171682700f7e76c6f759d6a867c67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a> (void)</td></tr>
<tr class="memdesc:a864171682700f7e76c6f759d6a867c67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On.  <a href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">More...</a><br /></td></tr>
<tr class="separator:a864171682700f7e76c6f759d6a867c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a981ef3f3ec1f3378cd7dc5de0195a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a7a981ef3f3ec1f3378cd7dc5de0195a3">off</a> (void)</td></tr>
<tr class="memdesc:a7a981ef3f3ec1f3378cd7dc5de0195a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off.  <a href="classIRHaierAC160.html#a7a981ef3f3ec1f3378cd7dc5de0195a3">More...</a><br /></td></tr>
<tr class="separator:a7a981ef3f3ec1f3378cd7dc5de0195a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a20552b0670196662de1c3d1ed9e4f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a93a20552b0670196662de1c3d1ed9e4f">getSleep</a> (void) const</td></tr>
<tr class="memdesc:a93a20552b0670196662de1c3d1ed9e4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Sleep setting of the A/C.  <a href="classIRHaierAC160.html#a93a20552b0670196662de1c3d1ed9e4f">More...</a><br /></td></tr>
<tr class="separator:a93a20552b0670196662de1c3d1ed9e4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7adb3aa53e9a4866fb870e0e134cc23c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a7adb3aa53e9a4866fb870e0e134cc23c">setSleep</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:a7adb3aa53e9a4866fb870e0e134cc23c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Sleep setting of the A/C.  <a href="classIRHaierAC160.html#a7adb3aa53e9a4866fb870e0e134cc23c">More...</a><br /></td></tr>
<tr class="separator:a7adb3aa53e9a4866fb870e0e134cc23c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f00f0beec9ad1cd3ddfef565f94571e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a2f00f0beec9ad1cd3ddfef565f94571e">getClean</a> (void) const</td></tr>
<tr class="memdesc:a2f00f0beec9ad1cd3ddfef565f94571e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Clean setting of the A/C.  <a href="classIRHaierAC160.html#a2f00f0beec9ad1cd3ddfef565f94571e">More...</a><br /></td></tr>
<tr class="separator:a2f00f0beec9ad1cd3ddfef565f94571e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af26d421ee293dc206f6184d2384679a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#af26d421ee293dc206f6184d2384679a9">setClean</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:af26d421ee293dc206f6184d2384679a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Clean setting of the A/C.  <a href="classIRHaierAC160.html#af26d421ee293dc206f6184d2384679a9">More...</a><br /></td></tr>
<tr class="separator:af26d421ee293dc206f6184d2384679a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af263405e2f19629f656f0fd6a6ef4777"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#af263405e2f19629f656f0fd6a6ef4777">getLightToggle</a> (void) const</td></tr>
<tr class="memdesc:af263405e2f19629f656f0fd6a6ef4777"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current Light toggle setting.  <a href="classIRHaierAC160.html#af263405e2f19629f656f0fd6a6ef4777">More...</a><br /></td></tr>
<tr class="separator:af263405e2f19629f656f0fd6a6ef4777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7cd77d7ac518492310939f4941e2252"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ad7cd77d7ac518492310939f4941e2252">setLightToggle</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:ad7cd77d7ac518492310939f4941e2252"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Light Toggle setting of the A/C.  <a href="classIRHaierAC160.html#ad7cd77d7ac518492310939f4941e2252">More...</a><br /></td></tr>
<tr class="separator:ad7cd77d7ac518492310939f4941e2252"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab324ff504365ab1a072442bad7d26ffb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ab324ff504365ab1a072442bad7d26ffb">getTurbo</a> (void) const</td></tr>
<tr class="memdesc:ab324ff504365ab1a072442bad7d26ffb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Turbo setting of the A/C.  <a href="classIRHaierAC160.html#ab324ff504365ab1a072442bad7d26ffb">More...</a><br /></td></tr>
<tr class="separator:ab324ff504365ab1a072442bad7d26ffb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0093d31f07a4cd5e5f3b3e57d793ba51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a0093d31f07a4cd5e5f3b3e57d793ba51">setTurbo</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:a0093d31f07a4cd5e5f3b3e57d793ba51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Turbo setting of the A/C.  <a href="classIRHaierAC160.html#a0093d31f07a4cd5e5f3b3e57d793ba51">More...</a><br /></td></tr>
<tr class="separator:a0093d31f07a4cd5e5f3b3e57d793ba51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89600ba551a27a919447e10b77fc2c50"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a89600ba551a27a919447e10b77fc2c50">getQuiet</a> (void) const</td></tr>
<tr class="memdesc:a89600ba551a27a919447e10b77fc2c50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Quiet setting of the A/C.  <a href="classIRHaierAC160.html#a89600ba551a27a919447e10b77fc2c50">More...</a><br /></td></tr>
<tr class="separator:a89600ba551a27a919447e10b77fc2c50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e21efeb4a446ebd03b141f4db668994"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a1e21efeb4a446ebd03b141f4db668994">setQuiet</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:a1e21efeb4a446ebd03b141f4db668994"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Quiet setting of the A/C.  <a href="classIRHaierAC160.html#a1e21efeb4a446ebd03b141f4db668994">More...</a><br /></td></tr>
<tr class="separator:a1e21efeb4a446ebd03b141f4db668994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adefc84ea08471e2974231e43f7046a34"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#adefc84ea08471e2974231e43f7046a34">getAuxHeating</a> (void) const</td></tr>
<tr class="memdesc:adefc84ea08471e2974231e43f7046a34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the Aux Heating setting.  <a href="classIRHaierAC160.html#adefc84ea08471e2974231e43f7046a34">More...</a><br /></td></tr>
<tr class="separator:adefc84ea08471e2974231e43f7046a34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3cb8275495ace8153a57e74a09b80cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ae3cb8275495ace8153a57e74a09b80cb">setAuxHeating</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:ae3cb8275495ace8153a57e74a09b80cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the Aux Heating setting.  <a href="classIRHaierAC160.html#ae3cb8275495ace8153a57e74a09b80cb">More...</a><br /></td></tr>
<tr class="separator:ae3cb8275495ace8153a57e74a09b80cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa6b7022e1667917389af50d5214367d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#aaa6b7022e1667917389af50d5214367d">getSwingV</a> (void) const</td></tr>
<tr class="memdesc:aaa6b7022e1667917389af50d5214367d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing position setting of the A/C.  <a href="classIRHaierAC160.html#aaa6b7022e1667917389af50d5214367d">More...</a><br /></td></tr>
<tr class="separator:aaa6b7022e1667917389af50d5214367d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d8c1bf7c7e2c42daaf0b7a9c21b9fb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a1d8c1bf7c7e2c42daaf0b7a9c21b9fb9">setSwingV</a> (const uint8_t pos)</td></tr>
<tr class="memdesc:a1d8c1bf7c7e2c42daaf0b7a9c21b9fb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing mode of the A/C.  <a href="classIRHaierAC160.html#a1d8c1bf7c7e2c42daaf0b7a9c21b9fb9">More...</a><br /></td></tr>
<tr class="separator:a1d8c1bf7c7e2c42daaf0b7a9c21b9fb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6469e7a148b26b10e80dce6d4b82d77"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ac6469e7a148b26b10e80dce6d4b82d77">setTimerMode</a> (const uint8_t setting)</td></tr>
<tr class="memdesc:ac6469e7a148b26b10e80dce6d4b82d77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Timer operating mode.  <a href="classIRHaierAC160.html#ac6469e7a148b26b10e80dce6d4b82d77">More...</a><br /></td></tr>
<tr class="separator:ac6469e7a148b26b10e80dce6d4b82d77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0ae3113a4eedba04e98982f0513b324"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#aa0ae3113a4eedba04e98982f0513b324">getTimerMode</a> (void) const</td></tr>
<tr class="memdesc:aa0ae3113a4eedba04e98982f0513b324"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Timer operating mode.  <a href="classIRHaierAC160.html#aa0ae3113a4eedba04e98982f0513b324">More...</a><br /></td></tr>
<tr class="separator:aa0ae3113a4eedba04e98982f0513b324"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab642e145cefdbd49a9f739cb096f1be0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ab642e145cefdbd49a9f739cb096f1be0">setOnTimer</a> (const uint16_t mins)</td></tr>
<tr class="memdesc:ab642e145cefdbd49a9f739cb096f1be0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of minutes of the On Timer setting.  <a href="classIRHaierAC160.html#ab642e145cefdbd49a9f739cb096f1be0">More...</a><br /></td></tr>
<tr class="separator:ab642e145cefdbd49a9f739cb096f1be0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4f96934f0ae290b52f156f556b064e9"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ac4f96934f0ae290b52f156f556b064e9">getOnTimer</a> (void) const</td></tr>
<tr class="memdesc:ac4f96934f0ae290b52f156f556b064e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of minutes of the On Timer setting.  <a href="classIRHaierAC160.html#ac4f96934f0ae290b52f156f556b064e9">More...</a><br /></td></tr>
<tr class="separator:ac4f96934f0ae290b52f156f556b064e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a254745ab5b7733b82b3c4a2be98966ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a254745ab5b7733b82b3c4a2be98966ef">setOffTimer</a> (const uint16_t mins)</td></tr>
<tr class="memdesc:a254745ab5b7733b82b3c4a2be98966ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of minutes of the Off Timer setting.  <a href="classIRHaierAC160.html#a254745ab5b7733b82b3c4a2be98966ef">More...</a><br /></td></tr>
<tr class="separator:a254745ab5b7733b82b3c4a2be98966ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ced03a40410e1a284d65e1f8b1ff8fd"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a2ced03a40410e1a284d65e1f8b1ff8fd">getOffTimer</a> (void) const</td></tr>
<tr class="memdesc:a2ced03a40410e1a284d65e1f8b1ff8fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of minutes of the Off Timer setting.  <a href="classIRHaierAC160.html#a2ced03a40410e1a284d65e1f8b1ff8fd">More...</a><br /></td></tr>
<tr class="separator:a2ced03a40410e1a284d65e1f8b1ff8fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8221127c08d5b49fa3f92bf450d988c5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a8221127c08d5b49fa3f92bf450d988c5">getLock</a> (void) const</td></tr>
<tr class="memdesc:a8221127c08d5b49fa3f92bf450d988c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Lock setting of the A/C.  <a href="classIRHaierAC160.html#a8221127c08d5b49fa3f92bf450d988c5">More...</a><br /></td></tr>
<tr class="separator:a8221127c08d5b49fa3f92bf450d988c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8550bb87407ede915f7b7a303fb2f6a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a8550bb87407ede915f7b7a303fb2f6a2">setLock</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:a8550bb87407ede915f7b7a303fb2f6a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Lock setting of the A/C.  <a href="classIRHaierAC160.html#a8550bb87407ede915f7b7a303fb2f6a2">More...</a><br /></td></tr>
<tr class="separator:a8550bb87407ede915f7b7a303fb2f6a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce9d4db11e2a92850abd5f2af7de997"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a6ce9d4db11e2a92850abd5f2af7de997">getHealth</a> (void) const</td></tr>
<tr class="memdesc:a6ce9d4db11e2a92850abd5f2af7de997"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Health (filter) setting of the A/C.  <a href="classIRHaierAC160.html#a6ce9d4db11e2a92850abd5f2af7de997">More...</a><br /></td></tr>
<tr class="separator:a6ce9d4db11e2a92850abd5f2af7de997"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add079004a5ee76f4570fdb4447eec526"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#add079004a5ee76f4570fdb4447eec526">setHealth</a> (const bool <a class="el" href="classIRHaierAC160.html#a864171682700f7e76c6f759d6a867c67">on</a>)</td></tr>
<tr class="memdesc:add079004a5ee76f4570fdb4447eec526"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Health (filter) setting of the A/C.  <a href="classIRHaierAC160.html#add079004a5ee76f4570fdb4447eec526">More...</a><br /></td></tr>
<tr class="separator:add079004a5ee76f4570fdb4447eec526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b596e468edd81954f6a26b1647c6147"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a6b596e468edd81954f6a26b1647c6147">getRaw</a> (void)</td></tr>
<tr class="memdesc:a6b596e468edd81954f6a26b1647c6147"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol.  <a href="classIRHaierAC160.html#a6b596e468edd81954f6a26b1647c6147">More...</a><br /></td></tr>
<tr class="separator:a6b596e468edd81954f6a26b1647c6147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f6fe09a6721cc5c604fc5bd55c6ed48"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a1f6fe09a6721cc5c604fc5bd55c6ed48">setRaw</a> (const uint8_t new_code[])</td></tr>
<tr class="memdesc:a1f6fe09a6721cc5c604fc5bd55c6ed48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol.  <a href="classIRHaierAC160.html#a1f6fe09a6721cc5c604fc5bd55c6ed48">More...</a><br /></td></tr>
<tr class="separator:a1f6fe09a6721cc5c604fc5bd55c6ed48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bd2391ca335c613057f83fdfa9b0013"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a8bd2391ca335c613057f83fdfa9b0013">toCommon</a> (const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> *prev=NULL) const</td></tr>
<tr class="memdesc:a8bd2391ca335c613057f83fdfa9b0013"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent.  <a href="classIRHaierAC160.html#a8bd2391ca335c613057f83fdfa9b0013">More...</a><br /></td></tr>
<tr class="separator:a8bd2391ca335c613057f83fdfa9b0013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbe418119f018552f5efe4f887e37665"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#acbe418119f018552f5efe4f887e37665">toString</a> (void) const</td></tr>
<tr class="memdesc:acbe418119f018552f5efe4f887e37665"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string.  <a href="classIRHaierAC160.html#acbe418119f018552f5efe4f887e37665">More...</a><br /></td></tr>
<tr class="separator:acbe418119f018552f5efe4f887e37665"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a1bd0a116fb4d5f04f1438a57c9719da9"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a1bd0a116fb4d5f04f1438a57c9719da9">validChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a995fbc320365f7d86dc079774a637089">kHaierAC160StateLength</a>)</td></tr>
<tr class="separator:a1bd0a116fb4d5f04f1438a57c9719da9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2825443e17aa23f5a6e1bf4dbedbd81"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ac2825443e17aa23f5a6e1bf4dbedbd81">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:ac2825443e17aa23f5a6e1bf4dbedbd81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRHaierAC160.html#ac2825443e17aa23f5a6e1bf4dbedbd81">More...</a><br /></td></tr>
<tr class="separator:ac2825443e17aa23f5a6e1bf4dbedbd81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed68f80febaf4790abecf9c28c278d49"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#aed68f80febaf4790abecf9c28c278d49">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:aed68f80febaf4790abecf9c28c278d49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRHaierAC160.html#aed68f80febaf4790abecf9c28c278d49">More...</a><br /></td></tr>
<tr class="separator:aed68f80febaf4790abecf9c28c278d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc07030d433bde9fac6904a3cbc475e6"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#afc07030d433bde9fac6904a3cbc475e6">convertSwingV</a> (const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> position)</td></tr>
<tr class="memdesc:afc07030d433bde9fac6904a3cbc475e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting.  <a href="classIRHaierAC160.html#afc07030d433bde9fac6904a3cbc475e6">More...</a><br /></td></tr>
<tr class="separator:afc07030d433bde9fac6904a3cbc475e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0b5c0902c122d067f8401ecd09f901e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ae0b5c0902c122d067f8401ecd09f901e">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:ae0b5c0902c122d067f8401ecd09f901e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRHaierAC160.html#ae0b5c0902c122d067f8401ecd09f901e">More...</a><br /></td></tr>
<tr class="separator:ae0b5c0902c122d067f8401ecd09f901e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bec7ed71bd9c9de68c58d49904350e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ac0bec7ed71bd9c9de68c58d49904350e">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:ac0bec7ed71bd9c9de68c58d49904350e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRHaierAC160.html#ac0bec7ed71bd9c9de68c58d49904350e">More...</a><br /></td></tr>
<tr class="separator:ac0bec7ed71bd9c9de68c58d49904350e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98af4a553e270b94d7067202baffc329"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a98af4a553e270b94d7067202baffc329">toCommonSwingV</a> (const uint8_t pos)</td></tr>
<tr class="memdesc:a98af4a553e270b94d7067202baffc329"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting.  <a href="classIRHaierAC160.html#a98af4a553e270b94d7067202baffc329">More...</a><br /></td></tr>
<tr class="separator:a98af4a553e270b94d7067202baffc329"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9aa61f90fc98c1f5cdbd80905cd7fde2"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a9aa61f90fc98c1f5cdbd80905cd7fde2">toCommonTurbo</a> (const uint8_t speed)</td></tr>
<tr class="separator:a9aa61f90fc98c1f5cdbd80905cd7fde2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae95d82bf5105ba9b5f504b6fb1a6f81e"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#ae95d82bf5105ba9b5f504b6fb1a6f81e">toCommonQuiet</a> (const uint8_t speed)</td></tr>
<tr class="separator:ae95d82bf5105ba9b5f504b6fb1a6f81e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a66552fe7c516e881fe3e2ec18fe4d491"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a66552fe7c516e881fe3e2ec18fe4d491">checksum</a> (void)</td></tr>
<tr class="memdesc:a66552fe7c516e881fe3e2ec18fe4d491"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state.  <a href="classIRHaierAC160.html#a66552fe7c516e881fe3e2ec18fe4d491">More...</a><br /></td></tr>
<tr class="separator:a66552fe7c516e881fe3e2ec18fe4d491"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:af64736f333b9fcac509042b5ca0a8d11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#af64736f333b9fcac509042b5ca0a8d11">_irsend</a></td></tr>
<tr class="memdesc:af64736f333b9fcac509042b5ca0a8d11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class.  <a href="classIRHaierAC160.html#af64736f333b9fcac509042b5ca0a8d11">More...</a><br /></td></tr>
<tr class="separator:af64736f333b9fcac509042b5ca0a8d11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c6b11a970ce292610c8d76d1e25159f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionHaierAc160Protocol.html">HaierAc160Protocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHaierAC160.html#a5c6b11a970ce292610c8d76d1e25159f">_</a></td></tr>
<tr class="separator:a5c6b11a970ce292610c8d76d1e25159f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Haier 160 bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a55777803fc8fd31c8741f31875dd9a6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55777803fc8fd31c8741f31875dd9a6c">&#9670;&nbsp;</a></span>IRHaierAC160()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRHaierAC160::IRHaierAC160 </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa16e560145efa44bf7b4e908b1ce5179"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa16e560145efa44bf7b4e908b1ce5179">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::begin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="aca0255b239860dc34e1ff401758dd639"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca0255b239860dc34e1ff401758dd639">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRHaierAC160::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a66552fe7c516e881fe3e2ec18fe4d491"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66552fe7c516e881fe3e2ec18fe4d491">&#9670;&nbsp;</a></span>checksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::checksum </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate and set the checksum values for the internal state. </p>

</div>
</div>
<a id="aed68f80febaf4790abecf9c28c278d49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed68f80febaf4790abecf9c28c278d49">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="ac2825443e17aa23f5a6e1bf4dbedbd81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2825443e17aa23f5a6e1bf4dbedbd81">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="afc07030d433bde9fac6904a3cbc475e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc07030d433bde9fac6904a3cbc475e6">&#9670;&nbsp;</a></span>convertSwingV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::convertSwingV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="adefc84ea08471e2974231e43f7046a34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adefc84ea08471e2974231e43f7046a34">&#9670;&nbsp;</a></span>getAuxHeating()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getAuxHeating </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the Aux Heating setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="ae677c5222821f424771b223d8d6e5f14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae677c5222821f424771b223d8d6e5f14">&#9670;&nbsp;</a></span>getButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::getButton </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Button/Command setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The value of the button/command that was pressed. </dd></dl>

</div>
</div>
<a id="a2f00f0beec9ad1cd3ddfef565f94571e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f00f0beec9ad1cd3ddfef565f94571e">&#9670;&nbsp;</a></span>getClean()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getClean </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Clean setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="ac3b0e49cf59fa2bac7e6043ff8db19f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3b0e49cf59fa2bac7e6043ff8db19f3">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>

</div>
</div>
<a id="a6ce9d4db11e2a92850abd5f2af7de997"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ce9d4db11e2a92850abd5f2af7de997">&#9670;&nbsp;</a></span>getHealth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getHealth </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Health (filter) setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="af263405e2f19629f656f0fd6a6ef4777"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af263405e2f19629f656f0fd6a6ef4777">&#9670;&nbsp;</a></span>getLightToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getLightToggle </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current Light toggle setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This setting seems to be controlled just by the button setting. </dd></dl>

</div>
</div>
<a id="a8221127c08d5b49fa3f92bf450d988c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8221127c08d5b49fa3f92bf450d988c5">&#9670;&nbsp;</a></span>getLock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getLock </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Lock setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a23f00c7174cc76d72e8731f8c8bde108"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23f00c7174cc76d72e8731f8c8bde108">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>

</div>
</div>
<a id="a2ced03a40410e1a284d65e1f8b1ff8fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ced03a40410e1a284d65e1f8b1ff8fd">&#9670;&nbsp;</a></span>getOffTimer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t IRHaierAC160::getOffTimer </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of minutes of the Off Timer setting. </p>
<dl class="section return"><dt>Returns</dt><dd>Nr of minutes. </dd></dl>

</div>
</div>
<a id="ac4f96934f0ae290b52f156f556b064e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4f96934f0ae290b52f156f556b064e9">&#9670;&nbsp;</a></span>getOnTimer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t IRHaierAC160::getOnTimer </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of minutes of the On Timer setting. </p>
<dl class="section return"><dt>Returns</dt><dd>Nr of minutes. </dd></dl>

</div>
</div>
<a id="af2b7ca52e6cbe9209410b9208ae0e4fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2b7ca52e6cbe9209410b9208ae0e4fd">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a89600ba551a27a919447e10b77fc2c50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89600ba551a27a919447e10b77fc2c50">&#9670;&nbsp;</a></span>getQuiet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getQuiet </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Quiet setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current Quiet setting. </dd></dl>

</div>
</div>
<a id="a6b596e468edd81954f6a26b1647c6147"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b596e468edd81954f6a26b1647c6147">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t * IRHaierAC160::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a PTR to the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>PTR to a code for this protocol based on the current internal state. </dd></dl>

</div>
</div>
<a id="a93a20552b0670196662de1c3d1ed9e4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93a20552b0670196662de1c3d1ed9e4f">&#9670;&nbsp;</a></span>getSleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getSleep </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Sleep setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="aaa6b7022e1667917389af50d5214367d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa6b7022e1667917389af50d5214367d">&#9670;&nbsp;</a></span>getSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::getSwingV </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Vertical Swing position setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The native position/mode. </dd></dl>

</div>
</div>
<a id="a4088c5b99375a891568d05e57669b1c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4088c5b99375a891568d05e57669b1c7">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. The unit of temperature is specified by UseFahrenheit value. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temperature. </dd></dl>

</div>
</div>
<a id="aa0ae3113a4eedba04e98982f0513b324"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0ae3113a4eedba04e98982f0513b324">&#9670;&nbsp;</a></span>getTimerMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHaierAC160::getTimerMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Timer operating mode. </p>
<dl class="section return"><dt>Returns</dt><dd>The mode of the timer is currently configured to. </dd></dl>

</div>
</div>
<a id="ab324ff504365ab1a072442bad7d26ffb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab324ff504365ab1a072442bad7d26ffb">&#9670;&nbsp;</a></span>getTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getTurbo </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Turbo setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current turbo setting. </dd></dl>

</div>
</div>
<a id="a546655c0859e1d275259a82085c37a08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a546655c0859e1d275259a82085c37a08">&#9670;&nbsp;</a></span>getUseFahrenheit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHaierAC160::getUseFahrenheit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the default temperature units in use. </p>
<dl class="section return"><dt>Returns</dt><dd>true is Fahrenheit, false is Celsius. </dd></dl>

</div>
</div>
<a id="a7a981ef3f3ec1f3378cd7dc5de0195a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a981ef3f3ec1f3378cd7dc5de0195a3">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to Off. </p>

</div>
</div>
<a id="a864171682700f7e76c6f759d6a867c67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a864171682700f7e76c6f759d6a867c67">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to On. </p>

</div>
</div>
<a id="a54c893fbe47a93029e5ca105438ba832"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54c893fbe47a93029e5ca105438ba832">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a6e9c641809880b032e33e36d1d84f842">kHaierAc160DefaultRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae3cb8275495ace8153a57e74a09b80cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3cb8275495ace8153a57e74a09b80cb">&#9670;&nbsp;</a></span>setAuxHeating()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setAuxHeating </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the Aux Heating setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1974397407adb89278054c9e7351b9c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1974397407adb89278054c9e7351b9c2">&#9670;&nbsp;</a></span>setButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setButton </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>button</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Button/Command setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">button</td><td>The value of the button/command that was pressed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af26d421ee293dc206f6184d2384679a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af26d421ee293dc206f6184d2384679a9">&#9670;&nbsp;</a></span>setClean()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setClean </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Clean setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a05ca549c6c70b7dfd76fe90ce889266d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05ca549c6c70b7dfd76fe90ce889266d">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="add079004a5ee76f4570fdb4447eec526"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add079004a5ee76f4570fdb4447eec526">&#9670;&nbsp;</a></span>setHealth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setHealth </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Health (filter) setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad7cd77d7ac518492310939f4941e2252"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7cd77d7ac518492310939f4941e2252">&#9670;&nbsp;</a></span>setLightToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setLightToggle </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Light Toggle setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This setting seems to be controlled just by the button setting. </dd></dl>

</div>
</div>
<a id="a8550bb87407ede915f7b7a303fb2f6a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8550bb87407ede915f7b7a303fb2f6a2">&#9670;&nbsp;</a></span>setLock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setLock </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Lock setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3d360881f832a992000e6bd49df4a9b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d360881f832a992000e6bd49df4a9b0">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a254745ab5b7733b82b3c4a2be98966ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a254745ab5b7733b82b3c4a2be98966ef">&#9670;&nbsp;</a></span>setOffTimer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setOffTimer </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>mins</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the number of minutes of the Off Timer setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mins</td><td>Nr. of Minutes for the Timer. <code>0</code> means disable the timer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab642e145cefdbd49a9f739cb096f1be0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab642e145cefdbd49a9f739cb096f1be0">&#9670;&nbsp;</a></span>setOnTimer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setOnTimer </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>mins</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the number of minutes of the On Timer setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mins</td><td>Nr. of Minutes for the Timer. <code>0</code> means disable the timer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6def5b9a8653277379be6591ce0773f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6def5b9a8653277379be6591ce0773f7">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1e21efeb4a446ebd03b141f4db668994"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e21efeb4a446ebd03b141f4db668994">&#9670;&nbsp;</a></span>setQuiet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setQuiet </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Quiet setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired Quiet setting. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Turbo &amp; Quiet can't be on at the same time, and only in Heat/Cool mode </dd></dl>

</div>
</div>
<a id="a1f6fe09a6721cc5c604fc5bd55c6ed48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f6fe09a6721cc5c604fc5bd55c6ed48">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>new_code</em>[]</td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">new_code</td><td>A valid code for this protocol. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7adb3aa53e9a4866fb870e0e134cc23c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7adb3aa53e9a4866fb870e0e134cc23c">&#9670;&nbsp;</a></span>setSleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setSleep </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Sleep setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1d8c1bf7c7e2c42daaf0b7a9c21b9fb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d8c1bf7c7e2c42daaf0b7a9c21b9fb9">&#9670;&nbsp;</a></span>setSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setSwingV </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Vertical Swing mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>The position/mode to set the vanes to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a778c43166c25572360ea51e0aaddf561"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a778c43166c25572360ea51e0aaddf561">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>degree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>fahrenheit</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">degree</td><td>The temperature in degrees. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fahrenheit</td><td>Use units of Fahrenheit and set that as units used. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac6469e7a148b26b10e80dce6d4b82d77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6469e7a148b26b10e80dce6d4b82d77">&#9670;&nbsp;</a></span>setTimerMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setTimerMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Timer operating mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The timer mode to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0093d31f07a4cd5e5f3b3e57d793ba51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0093d31f07a4cd5e5f3b3e57d793ba51">&#9670;&nbsp;</a></span>setTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setTurbo </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Turbo setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired turbo setting. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Turbo &amp; Quiet can't be on at the same time, and only in Heat/Cool mode </dd></dl>

</div>
</div>
<a id="a2dabfc2c7969e36b09cf9e3bd8ab14b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2dabfc2c7969e36b09cf9e3bd8ab14b3">&#9670;&nbsp;</a></span>setUseFahrenheit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::setUseFahrenheit </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the default temperature units to use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>Use Fahrenheit as the units. true is Fahrenheit, false is Celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a11e68d6a4bd6ff6014bec2b003da8526"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11e68d6a4bd6ff6014bec2b003da8526">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHaierAC160::stateReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the internal state to a fixed known good state. </p>

</div>
</div>
<a id="a8bd2391ca335c613057f83fdfa9b0013"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bd2391ca335c613057f83fdfa9b0013">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRHaierAC160::toCommon </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> *&#160;</td>
          <td class="paramname"><em>prev</em> = <code>NULL</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">prev</td><td>Ptr to the previous state if required. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>

</div>
</div>
<a id="ac0bec7ed71bd9c9de68c58d49904350e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0bec7ed71bd9c9de68c58d49904350e">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRHaierAC160::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="ae0b5c0902c122d067f8401ecd09f901e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0b5c0902c122d067f8401ecd09f901e">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRHaierAC160::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="ae95d82bf5105ba9b5f504b6fb1a6f81e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae95d82bf5105ba9b5f504b6fb1a6f81e">&#9670;&nbsp;</a></span>toCommonQuiet()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool IRHaierAC160::toCommonQuiet </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a98af4a553e270b94d7067202baffc329"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98af4a553e270b94d7067202baffc329">&#9670;&nbsp;</a></span>toCommonSwingV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> IRHaierAC160::toCommonSwingV </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a9aa61f90fc98c1f5cdbd80905cd7fde2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9aa61f90fc98c1f5cdbd80905cd7fde2">&#9670;&nbsp;</a></span>toCommonTurbo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool IRHaierAC160::toCommonTurbo </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="acbe418119f018552f5efe4f887e37665"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbe418119f018552f5efe4f887e37665">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRHaierAC160::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>

</div>
</div>
<a id="a1bd0a116fb4d5f04f1438a57c9719da9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bd0a116fb4d5f04f1438a57c9719da9">&#9670;&nbsp;</a></span>validChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool IRHaierAC160::validChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>state</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a995fbc320365f7d86dc079774a637089">kHaierAC160StateLength</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a5c6b11a970ce292610c8d76d1e25159f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c6b11a970ce292610c8d76d1e25159f">&#9670;&nbsp;</a></span>_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionHaierAc160Protocol.html">HaierAc160Protocol</a> IRHaierAC160::_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af64736f333b9fcac509042b5ca0a8d11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af64736f333b9fcac509042b5ca0a8d11">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRHaierAC160::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Instance of the IR send class. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Haier_8h_source.html">ir_Haier.h</a></li>
<li>src/<a class="el" href="ir__Haier_8cpp.html">ir_Haier.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
